* {
    margin: 0;
}

/*公共部分*/
.top > div {
    display: flex;
    justify-content: center;
}

.top > div > div {
    width: 1000px;
}

.top {
    background-image: url("../img/banner_qtah.jpg");
    height: 808px;
    background-size: 100% 100%;
    color: white;
}

.company {
    height: 141px;
}

/*大于符号  后代选择器*/
.company > div {
    /*边框大小   边框形状   边框颜色*/
    /*border: 1px solid rebeccapurple;*/
    height: 141px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company > div > div:nth-child(2) {
    display: flex;
    align-items: center;
}

.company > div > div:nth-child(2) > div {
    margin-right: 10px;
}

.company > div > div:first-child {
    height: 141px;
    width: 204px;
}

.company > div > div:first-child > img {
    height: 100%;
    width: 100%;
}

/*-----------------------nav导航--------------------------------*/
.nav {
    background-color: rgb(230, 145, 55);
    height: 50px;
}

.nav > div {
    height: 50px;
    /*border: 1px solid red;*/
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav > div > div {
    /*上右下左*/
    /*margin: 0 20px 0 20px;*/
    /*上下  左右*/
    padding: 0 20px;
    /*height: 50px;*/
    line-height: 50px;
}

/*鼠标放上去变颜色*/
.nav > div > div:hover {
    background-color: white;
    color: rgb(230, 145, 55);
}

/*---------------广告--------------------------*/
.ad > div > div:first-child {
    font-size: 50px;
    font-family: 新宋体;
    margin: 100px 0 20px 0;
}

.ad > div > div:nth-child(2) > div {
    line-height: 30px;
}

.ad > div > div:nth-child(3) > div {
    /*line-height: 50px;*/
    font-size: 30px;
}

.ad > div > div:nth-child(3) > div:first-child {
    display: flex;
    align-items: flex-end;
}

.ad > div > div:nth-child(3) > div:first-child > div:nth-child(even) {
    color: rgb(230, 145, 55);
}

.ad > div > div:nth-child(3) > div:first-child > div:nth-child(odd) {
    font-size: 25px;
}

.ad > div > div:nth-child(3) > div:nth-child(2) {
    color: rgb(230, 145, 55);
    text-indent: 1.5em;
}
